package com.huidao.dao;

import java.util.List;

import com.huidao.entity.Goods;

public interface GoodsDao {

	public boolean addGoods(Goods goods);
	
	public boolean delGoods(Long id);
	
	public boolean updateGoods(Goods goods);
	
	public List<Goods> getListPage(int currentPage,int pageSize,String namekey);
	
	public int getTotalCount(String namekey);
	
	public List<Goods> getAllList();
	
	public boolean goodsShelves(Goods goods);
	
	public List<Goods> getSellerListPage(int currentPage,int pageSize,String namekey,Long id );
	
	public boolean updateGoodsAccount(Goods goods);
	
	public Long getGoodsAccount(Goods goods);

}
